﻿using System;
namespace RBAC.Model
{
    /// <summary>
    /// 实体类Role 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Role
    {
        public Role()
        { }
        #region Model
        private int _id;
        private string _name;
        private int? _pid;
        private bool _enable;
        private string _remark;
        private string _ename;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? pid
        {
            set { _pid = value; }
            get { return _pid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool enable
        {
            set { _enable = value; }
            get { return _enable; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ename
        {
            set { _ename = value; }
            get { return _ename; }
        }
        #endregion Model

    }
}

